package cn.shengchao.base.constant;

public class Constants {
    public final static String SPLIT = ",";
    public final static String COLON = ":";
    public final static String SPACE = " ";
    public final static String UNDERLINE = "_";

    /**
     * 定义出缓存key的前缀标识，
     */
    public static class RedisKey {
        public static String ORDER_NUMBER_KEY = "order_no";
        public static String VIDEO_TASK_KEY = "TaskResult_";
        //在线用户
        public static String ONLINE_USER_KEY = "online:user";
        //课程播放记录
        public static String COURSE_PLAY_LOG_KEY = "course:play:log:%s";
        //课程进度记录
        public static String COURSE_PROGRESS_LOG_KEY = "course:progress:log:%s:%s";
        public static String VIDEO_AUTH_KEY = "video_auth_";

        public static String LOCK_KEY_PREFIX = "LOCK_KEY:";
        //产品信息缓存
        public static String PRODUCT_KEY = "PRODUCT:";
    }

}
